Skip to main content

reset

Type

command

Summary

Returns the specified template object to its default settings.

Syntax

reset [the] template{<objectType>}

Description

Use the reset command to change a template object back to its defaults after you have changed it temporarily.

Change the properties of template objects temporarily to easily create a number of objects of that type with the property settings you want.

note

The LiveCode development environment makes changes to template objects when it creates new objects. This means that objects you create in the development environment may not have the same property settings as objects you create in a standalone application.

Parameters

NameTypeDescription

objectType

One of LiveCode's objects: stack, group, card, field, button, graphic, image, scrollbar, player, audioClip, videoClip, or EPS.

Examples

reset the templateGraphic
reset the templateStack

keyword: templateScrollbar, default

command: reset paint

glossary: object, template, default, command, property, return, standalone application

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?